//
//  RegisterView.m
//  豆瓣_精简版
//
//  Created by dllo on 15/11/7.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "RegisterView.h"

@implementation RegisterView

- (instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self) {
        [self creatSubview];
    }
    return self;
}

- (void)creatSubview{
    
    self.label = [[UILabel alloc]initWithFrame:CGRectMake(40, 10, 80, 30)];
    [self addSubview:self.label];
    
    self.textField = [[UITextField alloc]initWithFrame:CGRectMake(130, 10, 210, 30)];
    [self addSubview:self.textField];
    self.textField.borderStyle = UITextBorderStyleRoundedRect;
}

@end
